package com.chenxingnet.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DriversExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DriversExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDidIsNull() {
            addCriterion("dId is null");
            return (Criteria) this;
        }

        public Criteria andDidIsNotNull() {
            addCriterion("dId is not null");
            return (Criteria) this;
        }

        public Criteria andDidEqualTo(Integer value) {
            addCriterion("dId =", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotEqualTo(Integer value) {
            addCriterion("dId <>", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThan(Integer value) {
            addCriterion("dId >", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThanOrEqualTo(Integer value) {
            addCriterion("dId >=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThan(Integer value) {
            addCriterion("dId <", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThanOrEqualTo(Integer value) {
            addCriterion("dId <=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidIn(List<Integer> values) {
            addCriterion("dId in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotIn(List<Integer> values) {
            addCriterion("dId not in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidBetween(Integer value1, Integer value2) {
            addCriterion("dId between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotBetween(Integer value1, Integer value2) {
            addCriterion("dId not between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andDeptidIsNull() {
            addCriterion("deptId is null");
            return (Criteria) this;
        }

        public Criteria andDeptidIsNotNull() {
            addCriterion("deptId is not null");
            return (Criteria) this;
        }

        public Criteria andDeptidEqualTo(Integer value) {
            addCriterion("deptId =", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotEqualTo(Integer value) {
            addCriterion("deptId <>", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidGreaterThan(Integer value) {
            addCriterion("deptId >", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidGreaterThanOrEqualTo(Integer value) {
            addCriterion("deptId >=", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidLessThan(Integer value) {
            addCriterion("deptId <", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidLessThanOrEqualTo(Integer value) {
            addCriterion("deptId <=", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidIn(List<Integer> values) {
            addCriterion("deptId in", values, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotIn(List<Integer> values) {
            addCriterion("deptId not in", values, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidBetween(Integer value1, Integer value2) {
            addCriterion("deptId between", value1, value2, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotBetween(Integer value1, Integer value2) {
            addCriterion("deptId not between", value1, value2, "deptid");
            return (Criteria) this;
        }

        public Criteria andJidIsNull() {
            addCriterion("jId is null");
            return (Criteria) this;
        }

        public Criteria andJidIsNotNull() {
            addCriterion("jId is not null");
            return (Criteria) this;
        }

        public Criteria andJidEqualTo(Integer value) {
            addCriterion("jId =", value, "jid");
            return (Criteria) this;
        }

        public Criteria andJidNotEqualTo(Integer value) {
            addCriterion("jId <>", value, "jid");
            return (Criteria) this;
        }

        public Criteria andJidGreaterThan(Integer value) {
            addCriterion("jId >", value, "jid");
            return (Criteria) this;
        }

        public Criteria andJidGreaterThanOrEqualTo(Integer value) {
            addCriterion("jId >=", value, "jid");
            return (Criteria) this;
        }

        public Criteria andJidLessThan(Integer value) {
            addCriterion("jId <", value, "jid");
            return (Criteria) this;
        }

        public Criteria andJidLessThanOrEqualTo(Integer value) {
            addCriterion("jId <=", value, "jid");
            return (Criteria) this;
        }

        public Criteria andJidIn(List<Integer> values) {
            addCriterion("jId in", values, "jid");
            return (Criteria) this;
        }

        public Criteria andJidNotIn(List<Integer> values) {
            addCriterion("jId not in", values, "jid");
            return (Criteria) this;
        }

        public Criteria andJidBetween(Integer value1, Integer value2) {
            addCriterion("jId between", value1, value2, "jid");
            return (Criteria) this;
        }

        public Criteria andJidNotBetween(Integer value1, Integer value2) {
            addCriterion("jId not between", value1, value2, "jid");
            return (Criteria) this;
        }

        public Criteria andDnameIsNull() {
            addCriterion("dName is null");
            return (Criteria) this;
        }

        public Criteria andDnameIsNotNull() {
            addCriterion("dName is not null");
            return (Criteria) this;
        }

        public Criteria andDnameEqualTo(String value) {
            addCriterion("dName =", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotEqualTo(String value) {
            addCriterion("dName <>", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameGreaterThan(String value) {
            addCriterion("dName >", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameGreaterThanOrEqualTo(String value) {
            addCriterion("dName >=", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameLessThan(String value) {
            addCriterion("dName <", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameLessThanOrEqualTo(String value) {
            addCriterion("dName <=", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameLike(String value) {
            addCriterion("dName like", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotLike(String value) {
            addCriterion("dName not like", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameIn(List<String> values) {
            addCriterion("dName in", values, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotIn(List<String> values) {
            addCriterion("dName not in", values, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameBetween(String value1, String value2) {
            addCriterion("dName between", value1, value2, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotBetween(String value1, String value2) {
            addCriterion("dName not between", value1, value2, "dname");
            return (Criteria) this;
        }

        public Criteria andDphoneIsNull() {
            addCriterion("dPhone is null");
            return (Criteria) this;
        }

        public Criteria andDphoneIsNotNull() {
            addCriterion("dPhone is not null");
            return (Criteria) this;
        }

        public Criteria andDphoneEqualTo(String value) {
            addCriterion("dPhone =", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneNotEqualTo(String value) {
            addCriterion("dPhone <>", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneGreaterThan(String value) {
            addCriterion("dPhone >", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneGreaterThanOrEqualTo(String value) {
            addCriterion("dPhone >=", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneLessThan(String value) {
            addCriterion("dPhone <", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneLessThanOrEqualTo(String value) {
            addCriterion("dPhone <=", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneLike(String value) {
            addCriterion("dPhone like", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneNotLike(String value) {
            addCriterion("dPhone not like", value, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneIn(List<String> values) {
            addCriterion("dPhone in", values, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneNotIn(List<String> values) {
            addCriterion("dPhone not in", values, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneBetween(String value1, String value2) {
            addCriterion("dPhone between", value1, value2, "dphone");
            return (Criteria) this;
        }

        public Criteria andDphoneNotBetween(String value1, String value2) {
            addCriterion("dPhone not between", value1, value2, "dphone");
            return (Criteria) this;
        }

        public Criteria andDaccidentIsNull() {
            addCriterion("dAccident is null");
            return (Criteria) this;
        }

        public Criteria andDaccidentIsNotNull() {
            addCriterion("dAccident is not null");
            return (Criteria) this;
        }

        public Criteria andDaccidentEqualTo(Date value) {
            addCriterion("dAccident =", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentNotEqualTo(Date value) {
            addCriterion("dAccident <>", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentGreaterThan(Date value) {
            addCriterion("dAccident >", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentGreaterThanOrEqualTo(Date value) {
            addCriterion("dAccident >=", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentLessThan(Date value) {
            addCriterion("dAccident <", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentLessThanOrEqualTo(Date value) {
            addCriterion("dAccident <=", value, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentIn(List<Date> values) {
            addCriterion("dAccident in", values, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentNotIn(List<Date> values) {
            addCriterion("dAccident not in", values, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentBetween(Date value1, Date value2) {
            addCriterion("dAccident between", value1, value2, "daccident");
            return (Criteria) this;
        }

        public Criteria andDaccidentNotBetween(Date value1, Date value2) {
            addCriterion("dAccident not between", value1, value2, "daccident");
            return (Criteria) this;
        }

        public Criteria andDidentitycardIsNull() {
            addCriterion("dIdentityCard is null");
            return (Criteria) this;
        }

        public Criteria andDidentitycardIsNotNull() {
            addCriterion("dIdentityCard is not null");
            return (Criteria) this;
        }

        public Criteria andDidentitycardEqualTo(String value) {
            addCriterion("dIdentityCard =", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardNotEqualTo(String value) {
            addCriterion("dIdentityCard <>", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardGreaterThan(String value) {
            addCriterion("dIdentityCard >", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardGreaterThanOrEqualTo(String value) {
            addCriterion("dIdentityCard >=", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardLessThan(String value) {
            addCriterion("dIdentityCard <", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardLessThanOrEqualTo(String value) {
            addCriterion("dIdentityCard <=", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardLike(String value) {
            addCriterion("dIdentityCard like", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardNotLike(String value) {
            addCriterion("dIdentityCard not like", value, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardIn(List<String> values) {
            addCriterion("dIdentityCard in", values, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardNotIn(List<String> values) {
            addCriterion("dIdentityCard not in", values, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardBetween(String value1, String value2) {
            addCriterion("dIdentityCard between", value1, value2, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDidentitycardNotBetween(String value1, String value2) {
            addCriterion("dIdentityCard not between", value1, value2, "didentitycard");
            return (Criteria) this;
        }

        public Criteria andDpictureIsNull() {
            addCriterion("dpicture is null");
            return (Criteria) this;
        }

        public Criteria andDpictureIsNotNull() {
            addCriterion("dpicture is not null");
            return (Criteria) this;
        }

        public Criteria andDpictureEqualTo(String value) {
            addCriterion("dpicture =", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureNotEqualTo(String value) {
            addCriterion("dpicture <>", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureGreaterThan(String value) {
            addCriterion("dpicture >", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureGreaterThanOrEqualTo(String value) {
            addCriterion("dpicture >=", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureLessThan(String value) {
            addCriterion("dpicture <", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureLessThanOrEqualTo(String value) {
            addCriterion("dpicture <=", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureLike(String value) {
            addCriterion("dpicture like", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureNotLike(String value) {
            addCriterion("dpicture not like", value, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureIn(List<String> values) {
            addCriterion("dpicture in", values, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureNotIn(List<String> values) {
            addCriterion("dpicture not in", values, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureBetween(String value1, String value2) {
            addCriterion("dpicture between", value1, value2, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDpictureNotBetween(String value1, String value2) {
            addCriterion("dpicture not between", value1, value2, "dpicture");
            return (Criteria) this;
        }

        public Criteria andDaudittimeIsNull() {
            addCriterion("dAuditTime is null");
            return (Criteria) this;
        }

        public Criteria andDaudittimeIsNotNull() {
            addCriterion("dAuditTime is not null");
            return (Criteria) this;
        }

        public Criteria andDaudittimeEqualTo(Date value) {
            addCriterion("dAuditTime =", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeNotEqualTo(Date value) {
            addCriterion("dAuditTime <>", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeGreaterThan(Date value) {
            addCriterion("dAuditTime >", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeGreaterThanOrEqualTo(Date value) {
            addCriterion("dAuditTime >=", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeLessThan(Date value) {
            addCriterion("dAuditTime <", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeLessThanOrEqualTo(Date value) {
            addCriterion("dAuditTime <=", value, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeIn(List<Date> values) {
            addCriterion("dAuditTime in", values, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeNotIn(List<Date> values) {
            addCriterion("dAuditTime not in", values, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeBetween(Date value1, Date value2) {
            addCriterion("dAuditTime between", value1, value2, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDaudittimeNotBetween(Date value1, Date value2) {
            addCriterion("dAuditTime not between", value1, value2, "daudittime");
            return (Criteria) this;
        }

        public Criteria andDcertificateIsNull() {
            addCriterion("dCertificate is null");
            return (Criteria) this;
        }

        public Criteria andDcertificateIsNotNull() {
            addCriterion("dCertificate is not null");
            return (Criteria) this;
        }

        public Criteria andDcertificateEqualTo(String value) {
            addCriterion("dCertificate =", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateNotEqualTo(String value) {
            addCriterion("dCertificate <>", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateGreaterThan(String value) {
            addCriterion("dCertificate >", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateGreaterThanOrEqualTo(String value) {
            addCriterion("dCertificate >=", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateLessThan(String value) {
            addCriterion("dCertificate <", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateLessThanOrEqualTo(String value) {
            addCriterion("dCertificate <=", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateLike(String value) {
            addCriterion("dCertificate like", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateNotLike(String value) {
            addCriterion("dCertificate not like", value, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateIn(List<String> values) {
            addCriterion("dCertificate in", values, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateNotIn(List<String> values) {
            addCriterion("dCertificate not in", values, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateBetween(String value1, String value2) {
            addCriterion("dCertificate between", value1, value2, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDcertificateNotBetween(String value1, String value2) {
            addCriterion("dCertificate not between", value1, value2, "dcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateIsNull() {
            addCriterion("dRegistrationCertificate is null");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateIsNotNull() {
            addCriterion("dRegistrationCertificate is not null");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateEqualTo(String value) {
            addCriterion("dRegistrationCertificate =", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateNotEqualTo(String value) {
            addCriterion("dRegistrationCertificate <>", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateGreaterThan(String value) {
            addCriterion("dRegistrationCertificate >", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateGreaterThanOrEqualTo(String value) {
            addCriterion("dRegistrationCertificate >=", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateLessThan(String value) {
            addCriterion("dRegistrationCertificate <", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateLessThanOrEqualTo(String value) {
            addCriterion("dRegistrationCertificate <=", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateLike(String value) {
            addCriterion("dRegistrationCertificate like", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateNotLike(String value) {
            addCriterion("dRegistrationCertificate not like", value, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateIn(List<String> values) {
            addCriterion("dRegistrationCertificate in", values, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateNotIn(List<String> values) {
            addCriterion("dRegistrationCertificate not in", values, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateBetween(String value1, String value2) {
            addCriterion("dRegistrationCertificate between", value1, value2, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDregistrationcertificateNotBetween(String value1, String value2) {
            addCriterion("dRegistrationCertificate not between", value1, value2, "dregistrationcertificate");
            return (Criteria) this;
        }

        public Criteria andDauditdateIsNull() {
            addCriterion("dAuditDate is null");
            return (Criteria) this;
        }

        public Criteria andDauditdateIsNotNull() {
            addCriterion("dAuditDate is not null");
            return (Criteria) this;
        }

        public Criteria andDauditdateEqualTo(Date value) {
            addCriterion("dAuditDate =", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateNotEqualTo(Date value) {
            addCriterion("dAuditDate <>", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateGreaterThan(Date value) {
            addCriterion("dAuditDate >", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateGreaterThanOrEqualTo(Date value) {
            addCriterion("dAuditDate >=", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateLessThan(Date value) {
            addCriterion("dAuditDate <", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateLessThanOrEqualTo(Date value) {
            addCriterion("dAuditDate <=", value, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateIn(List<Date> values) {
            addCriterion("dAuditDate in", values, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateNotIn(List<Date> values) {
            addCriterion("dAuditDate not in", values, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateBetween(Date value1, Date value2) {
            addCriterion("dAuditDate between", value1, value2, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDauditdateNotBetween(Date value1, Date value2) {
            addCriterion("dAuditDate not between", value1, value2, "dauditdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateIsNull() {
            addCriterion("dPubdate is null");
            return (Criteria) this;
        }

        public Criteria andDpubdateIsNotNull() {
            addCriterion("dPubdate is not null");
            return (Criteria) this;
        }

        public Criteria andDpubdateEqualTo(Date value) {
            addCriterion("dPubdate =", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateNotEqualTo(Date value) {
            addCriterion("dPubdate <>", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateGreaterThan(Date value) {
            addCriterion("dPubdate >", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateGreaterThanOrEqualTo(Date value) {
            addCriterion("dPubdate >=", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateLessThan(Date value) {
            addCriterion("dPubdate <", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateLessThanOrEqualTo(Date value) {
            addCriterion("dPubdate <=", value, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateIn(List<Date> values) {
            addCriterion("dPubdate in", values, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateNotIn(List<Date> values) {
            addCriterion("dPubdate not in", values, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateBetween(Date value1, Date value2) {
            addCriterion("dPubdate between", value1, value2, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDpubdateNotBetween(Date value1, Date value2) {
            addCriterion("dPubdate not between", value1, value2, "dpubdate");
            return (Criteria) this;
        }

        public Criteria andDreportstartIsNull() {
            addCriterion("dReportStart is null");
            return (Criteria) this;
        }

        public Criteria andDreportstartIsNotNull() {
            addCriterion("dReportStart is not null");
            return (Criteria) this;
        }

        public Criteria andDreportstartEqualTo(String value) {
            addCriterion("dReportStart =", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartNotEqualTo(String value) {
            addCriterion("dReportStart <>", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartGreaterThan(String value) {
            addCriterion("dReportStart >", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartGreaterThanOrEqualTo(String value) {
            addCriterion("dReportStart >=", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartLessThan(String value) {
            addCriterion("dReportStart <", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartLessThanOrEqualTo(String value) {
            addCriterion("dReportStart <=", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartLike(String value) {
            addCriterion("dReportStart like", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartNotLike(String value) {
            addCriterion("dReportStart not like", value, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartIn(List<String> values) {
            addCriterion("dReportStart in", values, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartNotIn(List<String> values) {
            addCriterion("dReportStart not in", values, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartBetween(String value1, String value2) {
            addCriterion("dReportStart between", value1, value2, "dreportstart");
            return (Criteria) this;
        }

        public Criteria andDreportstartNotBetween(String value1, String value2) {
            addCriterion("dReportStart not between", value1, value2, "dreportstart");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}